﻿@model RIS.TMP.WEB.APP.Models.MRSaveRestore

@{
    ViewBag.Title = "Edit";
}

<h2>Edit</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>MRSaveRestore</legend>

        @Html.HiddenFor(model => model.SResId)

        <div class="editor-label">
            @Html.LabelFor(model => model.ReId, "MRestoreToRepair")
        </div>
        <div class="editor-field">
            @Html.DropDownList("ReId", String.Empty)
            @Html.ValidationMessageFor(model => model.ReId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ResId, "MRestoreToAdmin")
        </div>
        <div class="editor-field">
            @Html.DropDownList("ResId", String.Empty)
            @Html.ValidationMessageFor(model => model.ResId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.RemarkRestore)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.RemarkRestore)
            @Html.ValidationMessageFor(model => model.RemarkRestore)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Invoine)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Invoine)
            @Html.ValidationMessageFor(model => model.Invoine)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ChangeRestore)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ChangeRestore)
            @Html.ValidationMessageFor(model => model.ChangeRestore)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FirstSucdate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FirstSucdate)
            @Html.ValidationMessageFor(model => model.FirstSucdate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.FirstSucTime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FirstSucTime)
            @Html.ValidationMessageFor(model => model.FirstSucTime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.LastSucdate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LastSucdate)
            @Html.ValidationMessageFor(model => model.LastSucdate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.LastSucTime)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LastSucTime)
            @Html.ValidationMessageFor(model => model.LastSucTime)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DaySave)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DaySave)
            @Html.ValidationMessageFor(model => model.DaySave)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.HourSave)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.HourSave)
            @Html.ValidationMessageFor(model => model.HourSave)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PriceRestorespares)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PriceRestorespares)
            @Html.ValidationMessageFor(model => model.PriceRestorespares)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PriceRestoreH)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PriceRestoreH)
            @Html.ValidationMessageFor(model => model.PriceRestoreH)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PriceRestoreAll)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PriceRestoreAll)
            @Html.ValidationMessageFor(model => model.PriceRestoreAll)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MRPId, "MRPoint")
        </div>
        <div class="editor-field">
            @Html.DropDownList("MRPId", String.Empty)
            @Html.ValidationMessageFor(model => model.MRPId)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Remarks)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Remarks)
            @Html.ValidationMessageFor(model => model.Remarks)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.RecordStatus)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.RecordStatus)
            @Html.ValidationMessageFor(model => model.RecordStatus)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CreateBy)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CreateBy)
            @Html.ValidationMessageFor(model => model.CreateBy)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CreateWhen)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CreateWhen)
            @Html.ValidationMessageFor(model => model.CreateWhen)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.UpdateBy)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UpdateBy)
            @Html.ValidationMessageFor(model => model.UpdateBy)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.UpdateWhen)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.UpdateWhen)
            @Html.ValidationMessageFor(model => model.UpdateWhen)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
